COM AT^SVRA test - Voice recognition command (for Carkit)
COM Command is not required if phone does not support voice recognition.

COM V1.0	23.02.2004	T. Kleinmann	Started
COM V1.2	24.02.2005	T. Kleinmann	added comment about responsibility

####################################################################################################
MESSAGE('These tests are considered to be the responsibility of accessory testers in ULM. \n\
The tests will be performed with real hardware.')
####################################################################################################

####################################################################################################
#
COM ToDo: Check URC ^SVRA:
#
####################################################################################################

from attglobals import *

####################################################################################################

COM Test command
AT^SVRA=?
WAITFOR (1,'(0,1)')

####################################################################################################

COM Read command
AT^SVRA?
WAITFOR (1,'^SVRA: ')

####################################################################################################

COM write command 

for i in range (3):
	for j in range (2):
		AT^SVRA=i,j
		WAIT FOR OK
		WAIT 2000
		COM CHECK		
		AT^SVRA?
		WAITFOR(1,'^SVRA: ',i,',',j)

####################################################################################################

COM write command - According to AT spec All parameters are optional, so I test here. Might be re-
COM moved later on.

AT^SVRA=
WAIT FOR OK

####################################################################################################

COM write command - Invalid parameter settings

AT^SVRA=3,0
WAIT FOR ERROR

AT^SVRA=0,3
WAIT FOR ERROR

####################################################################################################